package com.scoring.system.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.scoring.system.pojo.Student;

public interface StudentMapper {
    int deleteByPrimaryKey(Integer id);
    
    int softDelete(Integer id);

    int insert(Student record);

    int insertSelective(Student record);
    
    Student selectByStudentNumber(String studentNumber);
    
    Student selectByStudentNumberAndPassword(@Param("studentNumber")String studentNumber,@Param("password")String password);

    Student selectByPrimaryKey(Integer id);
    
    Student selectByName(String name);
    
    List<Student> ListStudentByClassId(Integer classId);

    int updateByPrimaryKeySelective(Student record);

    int updateByPrimaryKey(Student record);
}